package com.eddie.proxy.cglib;

/**
 * @author Eddie
 * @date 2022/08/03 09:59
 **/
public class Client {
    public static void main(String[] args) {
        TeacherDao target = new TeacherDao() ;
        TeacherDao proxyFactory = (TeacherDao) new ProxyFactory(target).getProxyInstance();
        proxyFactory.teach();
    }
}
